package com.smedi.ismedi.progress.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 施工日志附件Entity
 *
 * @author pengyan
 * @date 2022/09/16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "construction_log_attachment_image")
public class ConstructionLogAttachmentImageEntity extends BasicFieldEntity implements Serializable {

//    /**
//     * 主键id
//     */
//    @TableId(type = IdType.AUTO)
//    private Long id;

    /**
     * 主表id
     */
    private Long constructionLogId;

    /**
     * 附件key
     */
    private String signKey;

    /**
     * 附件显示名称
     */
    private String aliasName;

}